//---------------------------------------------------------------------------

#ifndef Template_FormBaseH
#define Template_FormBaseH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include "DBGridEh.hpp"
#include "DBGridEhGrouping.hpp"
#include "FIBDatabase.hpp"
#include "FIBDataSet.hpp"
#include "GridsEh.hpp"
#include "pFIBDatabase.hpp"
#include "pFIBDataSet.hpp"
#include <Data.DB.hpp>
#include <Vcl.DBCtrls.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.ToolWin.hpp>
#include <Vcl.ImgList.hpp>
#include "PropFilerEh.hpp"
#include "PropStorageEh.hpp"
//---------------------------------------------------------------------------
class TTEMPLATE_BaseForm : public TForm
{
__published:	// IDE-managed Components
	TpFIBTransaction *Transaction;
	TpFIBDataSet *DataSet;
	TDataSource *DataSource;
	TDBGridEh *DBGridEh;
	TPanel *PanelOkCancel;
	TButton *OkButton;
	TButton *CancelButton;
	TImageList *ImageList;
	TPropStorageEh *PropStorageEh;
	void __fastcall OkButtonClick(TObject *Sender);
	void __fastcall CancelButtonClick(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall FormHide(TObject *Sender);
	void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
	void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
private:	// User declarations
public:		// User declarations
	__fastcall TTEMPLATE_BaseForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TTEMPLATE_BaseForm *TEMPLATE_BaseForm;
//---------------------------------------------------------------------------
#endif
